#include "TriangleList.hpp"
#include <cstring>

TriangleList::TriangleList(GLuint* triangles, int size)
{
	indices = new GLuint[size];
	/*
	for(int i = 0; i < size; i ++)
	{
        indices[i] = triangles[i];
	}
	*/
	memcpy(indices, triangles, size * sizeof(GLuint));
	nrTriangles = size/3;
}
